package com.etime.mapper;

import com.etime.pojo.Order;
import com.etime.pojo.Ticket;

import java.util.List;

public interface TicketMapper {
    List<Ticket> getAllTicket();

    List<Ticket> getTicketByNo(String s);

    int addTicket(Ticket ticket);

    Ticket getTicketById(Integer train_id);

    int editTicket(Ticket ticket);

    List<Ticket> getTicketBySth(Ticket ticket);

    int editTicketNum(Order order);
}
